package cn.zhanghu;

public class Volume extends Area{
    public double height;
    Volume(double length,double width,double height){
        super(length,width);
        this.height=height;
    }
    double volume(){
        super.area();
        double volume=length*width*height;
        return volume;
    }
}
